package com.bocai;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;

/**
 * @author create by VIC.Huang
 * @date 2018/1/23
 */
public class Constants {
    public static final int TOKEN_EXPIRE = 12 * 60 * 60;

    /*
        双人夺宝
     */
    public static final Map<String, String> TWO = new HashMap<String, String>() {
        {
            put("max", "大数");
            put("min", "小数");
            put("odd", "单数");
            put("even", "双数");
        }
    };
    /**
     * 四人夺宝
     */
    public static final Map<String, String> FOUR = new HashMap<String, String>() {
        {
            put("max_odd", "大单");
            put("max_even", "大双");
            put("min_odd", "小单");
            put("min_even", "小双");
        }
    };
    /**
     * 十人夺宝
     */
    public static final Map<String, String> TEN = new HashMap<String, String>() {
        {
            put("0", "0");
            put("1", "1");
            put("2", "2");
            put("3", "3");
            put("4", "4");
            put("5", "5");
            put("6", "6");
            put("7", "7");
            put("8", "8");
            put("9", "9");
        }
    };

    public static final Map<String, String> PER_COMMISSION = new HashMap<String, String>() {
        {
            put("1two", "0.42");
            put("1four", "0.21");
            put("1ten", "0.09");
            put("2two", "0.82");
            put("2four", "0.4");
            put("2ten", "0.18");
            put("3two", "2.4");
            put("3four", "1.2");
            put("3ten", "0.54");
        }
    };

    public static final Map<String, String> PER_PAY_BACK = new HashMap<String, String>() {
        {
            put("1two", "0.28");
            put("1four", "0.14");
            put("1ten", "0.06");
            put("2two", "0.55");
            put("2four", "0.27");
            put("2ten", "0.12");
            put("3two", "1.6");
            put("3four", "0.8");
            put("3ten", "0.36");
        }
    };

    public static final int PAGE_SIZE = 10;
}
